package com.tmxk.jdbc02.vo;

import java.sql.Date;

/**
 * 业务实体类  部门/雇员类
 *
 */
public class DeptEmpVO {
    private int deptNo;
    private String dName;
    private String loc;

    private int empNo ;
    private String eName;
    private String job;
    private int mgr ;
    private Date hireDate ;
    private double sal ;
    private double comm ;

    //薪资等级
    private int grade;

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(int deptNo) {
        this.deptNo = deptNo;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public int getEmpNo() {
        return empNo;
    }

    public void setEmpNo(int empNo) {
        this.empNo = empNo;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public int getMgr() {
        return mgr;
    }

    public void setMgr(int mgr) {
        this.mgr = mgr;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }

    public double getComm() {
        return comm;
    }

    public void setComm(double comm) {
        this.comm = comm;
    }

    public DeptEmpVO() {
    }

    public DeptEmpVO(int deptNo, String dName, String loc, int empNo, String eName, String job, int mgr, Date hireDate, double sal, double comm) {
        this.deptNo = deptNo;
        this.dName = dName;
        this.loc = loc;
        this.empNo = empNo;
        this.eName = eName;
        this.job = job;
        this.mgr = mgr;
        this.hireDate = hireDate;
        this.sal = sal;
        this.comm = comm;
    }
}
